<#if group.hasTitle()>
<el-card ${elementGenerator.getGroupTableName(group)}>
    <div slot="header">
        <span class="title">${group.comment} ${One2OneChildsOne2ManyRelations(group)}</span>
    </div>
    </#if>
    <div class="el-row">
        <#list group.columnList as groupColumn>
            <div class="el-col el-col-${24/groupColumn.row} el-form-item" v-ab-permission:show="permission.${relation.busObj.key}.${groupColumn.tableKey}.${groupColumn.key}">
                <label class="el-form-item__label" style="width: 150px;">${groupColumn.comment}： </label>
                <div class="el-form-item__content" style="margin-left: 150px;"> ${elementGenerator.getColumn(group,groupColumn)} </div>
            </div>
        </#list>
    </div>
    <#if group.hasTitle()></el-card></#if>

<#function One2OneChildsOne2ManyRelations group>
    <#assign relationList = group.getOne2OneChildsOne2ManyRelations()>
    <#assign rtn>
        <#if relationList?? && (relationList?size > 0) >
            <#list relationList as relation>
                <ab-sub-detail class="el-button el-button--default"  v-model="${elementGenerator.getScopePath(relation.parent)}<#if relation.parent.type =='oneToMany'>[index]</#if>" table-key="${relation.getBusObj().getKey()}_${relation.tableKey}" v-ab-permission:show="tablePermission.${relation.busObj.key}.${relation.tableKey}" >${relation.tableComment}详情</ab-sub-detail>
            </#list>
        </#if>
    </#assign>
    <#return rtn>
</#function>


